Two Compact Incremental Prime Sieves

نویسنده

  • Jonathan P. Sorenson
چکیده

A prime sieve is an algorithm that finds the primes up to a bound n. We say that a prime sieve is incremental, if it can quickly determine if n+1 is prime after having found all primes up to n. We say a sieve is compact if it uses roughly √ n space or less. In this paper we present two new results: • We describe the rolling sieve, a practical, incremental prime sieve that takes O(n log logn) time and O( √ n logn) bits of space, and • We show how to modify the sieve of Atkin and Bernstein [1] to obtain a sieve that is simultaneously sublinear, compact, and incremental. The second result solves an open problem given by Paul Pritchard in 1994 [19].

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Trading Time for Space in Prime Number Sieves

A prime number sieve is an algorithm that nds the primes up to a bound n. We present four new prime number sieves. Each of these sieves gives new space complexity bounds for certain ranges of running times. In particular, we give a linear time sieve that uses only O(p n=(log log n) 2) bits of space, an O l (n= log log n) time sieve that uses O(n=((log n) l log log n)) bits of space, where l > 1...

متن کامل

Improved incremental prime number sieves

An algorithm due to Bengalloun that continuously enumerates the primes is adapted to give the rst prime number sieve that is simultaneously sublinear, additive, and smoothly incremental: { it employs only (n= log log n) additions of numbers of size O(n) to enumerate the primes up to n, equalling the performance of the fastest known algorithms for xed n; { the transition from n to n + 1 takes on...

متن کامل

Progress in heteroatom - containing aluminophosphate molecular sieves

Over the past 30 years, heteroatom-containing aluminophosphate molecular sieves as a prime class of heterogeneous single-site solid catalysts have been quickly developed since the first discovery of aluminophosphate molecular sieves in 1982, and a large variety of such materials with 48 unique zeotype structures have been prepared. This work mainly presents the progress in the development of he...

متن کامل

Quantum Unique Ergodicity for Locally Symmetric Spaces Ii

We prove the arithmetic quantum unique ergodicity (AQUE) conjecture for non-degenerate sequences of Hecke eigenfunctions on quotients Γ\G/K, where G ' PGLd(R), K is a maximal compact subgroup of G and Γ < G is a lattice associated to a division algebra over Q of prime degree d. The primary novelty of the present paper is a new method of proving positive entropy of quantum limits, which avoids s...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1503.02592  شماره 

صفحات  -

تاریخ انتشار 2015